package com.sxhalo.fsms.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sxhalo.fsms.domain.FactPatrolJob;

public interface FactPatrolJobMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(FactPatrolJob record);

    int insertSelective(FactPatrolJob record);

    FactPatrolJob selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FactPatrolJob record);

    int updateByPrimaryKey(FactPatrolJob record);
    
    int getMaxId();
    
    int getCount(@Param("where")String where);

    List<FactPatrolJob> findWhereList(@Param("where")String where, @Param("order")String order);

    List<FactPatrolJob> findPagerList(@Param("start")Integer start, @Param("length")Integer length, @Param("where")String where, @Param("order")String order);
}